<?php if ( ! defined('DIR')) exit('No direct script access allowed');

	class Control{
	
		private static $instance;
	
		public function __construct()
		{	
			header("Content-type:text/html;charset=".getConfig('page_encode'));
			self::$instance =&$this;
			$this->load =&Load('Load', 'Core');
			$this->load->autoload();
		}
	
		public static function &get_instance()
		{
			return self::$instance;
		}
		
	}	


?>